package nuc.edu.wcy.service.impl;

import nuc.edu.wcy.dao.IAccountDao;
import nuc.edu.wcy.entity.Account;
import nuc.edu.wcy.service.IAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccountServiceImpl implements IAccountService {

    @Autowired
    IAccountDao accountDao;

    @Override
    public void account() {
        System.out.println("gfds");
    }

    @Override
    public List<Account> find() {
        return accountDao.find();
    }
}
